home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Shareware City / Developers / nshellmegasource1.50 / mega src / lib / buf_utl.proto.h < prev    next >
Encoding:
Text File  |  1994-11-26  |  755 b   |  29 lines  |  [TEXT/KAHL]

  1. /* ========================================
  2.  
  3.     buf_utl.proto.h
  4.     
  5.     These routines allow buffered output in nShell(tm)
  6.     commands.  To use this module, you must:
  7.     
  8.         1. Set up the A4 register for global storage.
  9.         
  10.         2. Call buf_init at the start of your command.
  11.         
  12.         3. Call buf_flush at the end of your command.
  13.     
  14.     Copyright (c) 1994 Newport Software Development
  15.     
  16.     You may distribute unmodified copies of this file for
  17.     noncommercial purposes.  You may use this file as a
  18.     reference when writing your own programs.
  19.     
  20.     All other rights are reserved.
  21.     
  22.    ======================================== */
  23.  
  24. void buf_init( t_nshc_calls *nshc_calls );
  25. void buf_flush( void );
  26. void buf_putchar( char ch );
  27. void buf_puts( char *p );
  28. void buf_putStr( StringPtr str );
  29.